* subr.el (ignore-errors): Add debug declaration.
authorAndreas Schwab <schwab@linux-m68k.org>
Wed, 11 Aug 2010 13:43:49 +0000 (15:43 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Wed, 11 Aug 2010 13:43:49 +0000 (15:43 +0200)
lisp/ChangeLog
lisp/subr.el

index 25c84bad8d32466af823c227fa64c8b44b72542f..207eb251f6a1c50a7a266b57363deb8715858a51 100644 (file)
@@ -1,3 +1,7 @@
+2010-08-11  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * subr.el (ignore-errors): Add debug declaration.
+
 2010-08-09  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
 
        * whitespace.el (whitespace-color-off): Remove post-command-hook
index 16ea5b41342a48e96b47c1b14d2f8d08d53cc0ca..44ae84ab76bcef2da67c1d40850311910b5be4f9 100644 (file)
@@ -219,6 +219,7 @@ Treated as a declaration when used at the right place in a
 (defmacro ignore-errors (&rest body)
   "Execute BODY; if an error occurs, return nil.
 Otherwise, return result of last form in BODY."
+  (declare (debug t) (indent 0))
   `(condition-case nil (progn ,@body) (error nil)))
 \f
 ;;;; Basic Lisp functions.